{% extends "base_generic.html" %}
{% block script %}
<script type="text/javascript">
  $(window).load(
    function() {
      $( "#firstPost" ).datepicker({ dateFormat: 'yy-mm-dd 00:00:00.000000' });
    });
</script>
{% endblock %}
{% block content %}
        <h1>Libro</h1>
        <form action="/admin/libros/{{ key }}/save/" method="post">
        
        <div class="line">
          <div class="field">
            <label>Name:</label>
            <input id="name" name="name" type="text" size="65" value="{{ name }}" />
          </div>
        </div>
        <div class="line">
          <div class="field">
            <label>Slug:</label>
            <input id="slug" name="slug" type="text" size="50" value="{{ slug }}" />
          </div>
          <div class="field">
            <label>Author:</label>
            <input id="author" name="author" type="text" size="20" value="{{ author }}" />
          </div>
           <div class="field">
             <label>Country:</label>
             <input id="country" name="country" type="text" size="40" value="{{ country }}" />
           </div>
           <div class="field">
              <label>Language:</label>
              <input id="language" name="language" type="text" size="40" value="{{ language }}" />
            </div>
          </div>
         <div class="line">
           <div class="field">
             <label>Description:</label>
             <textarea cols="90" rows="12" id="description" name="description">{{ description }}</textarea>
           </div>
        </div>
        <input type="hidden" name="codenum" id="codenum" value="{{ filekey }}" />
        <input type="submit" value="Guardar" id="save" name="save" name="save" /><br class="clear" />
      </form>
      <br class="clear" />

{% endblock %}
      